﻿<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style x:Key="StyleControlWindowTitleBorder" TargetType="{x:Type Border}">
        <Setter Property="Background" Value="{DynamicResource ControlWindowTitleBackground}" />
        <Setter Property="VerticalAlignment" Value="Top" />
        <Setter Property="CornerRadius" Value="5" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="BorderBrush" Value="#FF000000" />
        <Setter Property="Margin" Value="5" />
        <Setter Property="Padding" Value="5,0,0,0" />
    </Style>

    <Style x:Key="StyleControlWindowTitle" TargetType="{x:Type UserControl}">
        <Setter Property="FontSize" Value="32px" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="Foreground" Value="{DynamicResource ControlWindowTitleForeground}" />
    </Style>
    
    <Style x:Key="StyleControlDashboard" TargetType="{x:Type UserControl}">
        <Setter Property="Background" Value="{DynamicResource ControlDashboardBackground}" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="BorderBrush" Value="#FF000000" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
        <Setter Property="Padding" Value="0" />
        <Setter Property="Foreground" Value="{DynamicResource ControlDashboardForeground}" />
        <Setter Property="Margin" Value="5" />
        <Setter Property="Height" Value="115" />
    </Style>
    
    <Style x:Key="StyleControlDashboardItem" TargetType="{x:Type Border}">
        <Setter Property="Background" Value="{DynamicResource ControlDashboardItemBackground}" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="BorderBrush" Value="#FF000000" />       
        <Setter Property="Width" Value="150" />
        <Setter Property="Height" Value="150" />
        <Setter Property="Margin" Value="5" />
        <Setter Property="Padding" Value="0" />
        <Setter Property="CornerRadius" Value="5"/>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="true" >
                <Setter Property="BitmapEffect">
                    <Setter.Value>
                        <DropShadowBitmapEffect />
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
    
    <Style x:Key="StyleControlDashboardScrollViewer" TargetType="{x:Type ScrollViewer}">
        <Setter Property="HorizontalScrollBarVisibility" Value="Auto" />
        <Setter Property="VerticalScrollBarVisibility" Value="Hidden" />
    </Style>
    
    <Style x:Key="StyleControlDashboardStackPanel" TargetType="{x:Type StackPanel}">
        <Setter Property="Orientation" Value="Horizontal" />        
    </Style>
    
    <Style x:Key="StyleControlDashboardItemCaption" TargetType="{x:Type TextBlock}">
        <Setter Property="FontSize" Value="18px" />
        <Setter Property="Foreground" Value="Black" />
        <Setter Property="TextAlignment" Value="Right" />
        <Setter Property="Padding" Value="0,0,5,5" />
    </Style>

</ResourceDictionary>
